package com.yq.ylmall.enums.activity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ActivityType {
    FULL_REDUCTION(1, "满减"),
    DISCOUNT(2, "折扣");

    @EnumValue
    private final Integer status;
    @JsonValue
    private final String desc;
}
